package com.quan.mall.service;

import com.quan.commons.core.bean.R;
import com.quan.mall.commons.vo.FmsMemberWithdrawVo;
import com.quan.mall.entity.FmsMemberWithdraw;
import com.quan.commons.core.utils.PageUtils;
import com.quan.commons.core.biz.support.MyBaseService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * 财务-会员提现申请
 *
 * @author yhaoquan
 * @email yhaoquan@163.com
 * @date 2021-03-26 15:19:14
 */
public interface FmsMemberWithdrawService extends MyBaseService<FmsMemberWithdraw> {

    /**
     * 列表查询
     * @param vo
     * @return
     */
    public List<FmsMemberWithdrawVo> queryList(PageUtils pageUtils, FmsMemberWithdrawVo vo) ;

    /**
     * 分页查询
     * @param pageUtils
     * @param vo
     * @return
     */
    public PageUtils queryPage(PageUtils pageUtils, FmsMemberWithdrawVo vo);

    /**
     * 申请提现
     * @param vo
     */
    R apply(FmsMemberWithdrawVo vo);

    /**
     * 同意申请
     * @param vo
     * @return
     */
    R agree(FmsMemberWithdrawVo vo, HttpServletRequest request);

    /**
     * 拒绝申请
     * @param vo
     * @return
     */
    R reject(FmsMemberWithdrawVo vo);
}

